<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>南通统计局数据采集平台</title>
    <link rel="stylesheet" href="../assets/css/style.css">
    <link rel="stylesheet" href="../assets/css/jquery.treeview.css"/>
    <link rel="stylesheet" type="text/css" href="../assets/css/jquery.monthpicker.css">
    <link rel="stylesheet" href="../assets/css/BeatPicker.min.css"/>
    <script type="text/javascript" src="../assets/js/jquery.min.js"></script>
    <script src="../assets/js/jquery.cookie.js" type="text/javascript"></script>
    <script src="../assets/js/jquery.treeview.js" type="text/javascript"></script>
    <script src="../assets/js/BeatPicker.min.js"></script>
    <script src="../assets/js/jquery.monthpicker.js"></script>
    <script src="../assets/js/common.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#monthly').monthpicker({
                years: [2016, 2015, 2014, 2013, 2012, 2011],
                topOffset: 6
            });
            $('#monthly2').monthpicker({
                years: [2016, 2015, 2014, 2013, 2012, 2011],
                topOffset: 6
            });
            $('#monthly3').monthpicker({
                years: [2016, 2015, 2014, 2013, 2012, 2011],
                topOffset: 6
            });
            $('#monthly4').monthpicker({
                years: [2016, 2015, 2014, 2013, 2012, 2011],
                topOffset: 6
            });
        });
    </script>
</head>
<body>
<!--黑幕-->
<div id="darkdiv">

</div>
<!--提示框-->
<div id="remind">
    <div class="remind">
        <div class="remindtop"><span id="remindname">添加成功</span><img onclick="closeRemind();"
                                                                     src="../assets/img/showclose.jpg"></div>
        <div class="remindmain">
            <img src="../assets/img/successad.jpg">
        </div>
        <div class="remindok">
            <button type="button" onclick="closeRemind();">确定</button>
        </div>
    </div>
</div>


<div class="tj-main">
    <div class="tj-left">
        <div class="tj-check">
            <input type="checkbox" checked="checked"><span>当前期</span>
        </div>
        <div class="JS_panel">
            <div class="tj-tab-panel" style="margin-top: 0;padding-top: 10px;">
                <div class="tj-bj">
                    <ul id="tree1" class="filetree">
                        <li style="padding-bottom: 0"><span class="folder" style="color: #333">当前期</span>
                            <ul>
                                <li><span class="folder"> ZHB 投资综合定期报表</span>
                                    <ul>
                                        <li><a href="">H401TQ_16 固定资产投资（不含农)</a></li>
                                        <li><a href="">H401TQ_16 固定资产投资（不含农用资)</a></li>
                                    </ul>
                                </li>
                                <li><a href=""> ZHB 投资综合定期报表</a></li>
                                <li><span class="folder">TZFZ投资分组指标词典（01）</span>
                                    <ul>
                                        <li><a href="">XZQH行政区划</a></li>
                                        <li><a href="">TZ11登记注册类型</a></li>
                                        <li><a href="">TZ12行业代码</a></li>
                                        <li><a href="">TZ13隶属关系</a></li>
                                        <li><a href="">TZ15建设阶段</a></li>
                                        <li><a href="">TZ18开工时间</a></li>
                                        <li><a href="">TZ19投产时间</a></li>
                                        <li><a href="">TZ21控股情况</a></li>
                                        <li><a href="">TZ22末期项目建设状态</a></li>
                                    </ul>
                                </li>
                                <li class="expandable"><span class="folder">TZFZ投资分组指标词典（02）</span>
                                    <ul style="display: none;">
                                        <li><a href="">XZQH行政区划</a></li>
                                        <li><a href="">TZ11登记注册类型</a></li>
                                        <li><a href="">TZ12行业代码</a></li>
                                        <li><a href="">TZ13隶属关系</a></li>
                                        <li><a href="">TZ15建设阶段</a></li>
                                        <li><a href="">TZ18开工时间</a></li>
                                        <li><a href="">TZ19投产时间</a></li>
                                        <li><a href="">TZ21控股情况</a></li>
                                        <li><a href="">TZ22末期项目建设状态</a></li>
                                        <li><a href="">TZ36城乡分组</a></li>
                                        <li><a href="">TZ101计划总投资</a></li>
                                        <li><a href="">TZ003A3新增生产能力目录及代码</a></li>
                                        <li><a href="">TZHZDQ按地区汇总主栏</a></li>
                                    </ul>
                                </li>
                                <li class="expandable"><span class="folder">H 投资报表制度</span>
                                    <ul style="display: none;">
                                        <li><a href="">XZQH行政区划</a></li>
                                        <li><a href="">TZ11登记注册类型</a></li>
                                        <li><a href="">TZ12行业代码</a></li>
                                        <li><a href="">TZ13隶属关系</a></li>
                                        <li><a href="">TZ15建设阶段</a></li>
                                        <li><a href="">TZ18开工时间</a></li>
                                        <li><a href="">TZ19投产时间</a></li>
                                        <li><a href="">TZ21控股情况</a></li>
                                        <li><a href="">TZ22末期项目建设状态</a></li>
                                        <li><a href="">TZ36城乡分组</a></li>
                                        <li><a href="">TZ101计划总投资</a></li>
                                        <li><a href="">TZ003A3新增生产能力目录及代码</a></li>
                                        <li><a href="">TZHZDQ按地区汇总主栏</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
                <div class="tj-bj-btn">
                    <div>
                        <button type="button" onclick="openDesk();" class="tj-btn-add"></button>
                        <button type="button" class="tj-btn-remove"></button>
                        <button type="button" onclick="openAllDesk('tj-xgbbzd');" class="tj-btn-change"></button>
                    </div>
                    <div>
                        <button type="submit" class="tj-btn-copy"></button>
                        <button type="submit" class="tj-btn-cut"></button>
                        <button type="submit" class="tj-btn-zt"></button>
                    </div>
                </div>
                <script type="text/javascript">
                    $("#tree1").treeview();
                </script>

            </div>
        </div>
    </div>
    <div class="tj-right">
        <table cellspacing="0" cellpadding="0" class="tj-bbzd-table">
            <tr>
                <td width="100">
                    表格号：
                </td>
                <td width="265">
                    <input type="text" value="H401TQ_16" disabled="disabled">
                </td>
                <td width="100">
                    同类表：
                </td>
                <td width="265">
                    <select disabled="disabled">
                        <option selected="selected">H401TQ_16 固定资产投资（不含</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    表号：
                </td>
                <td>
                    <input type="text" value="H401">
                </td>
                <td>
                    报告日期：
                </td>
                <td>
                    <select disabled="disabled">
                        <option selected="selected">月报</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    表名：
                </td>
                <td>
                    <input type="text" value="固定资产投资（不含农户）完成情">
                </td>
                <td>
                    制表机关：
                </td>
                <td>
                    <input type="text" value="国家统计局">
                </td>
            </tr>
            <tr>
                <td>
                    有效期始于：
                </td>
                <td>
                    <input type="text" class="input" id="monthly">
                </td>
                <td>
                    有效期止于：
                </td>
                <td>
                    <input type="text" class="input" id="monthly2">
                </td>
            </tr>
            <tr>
                <td>
                    主表：
                </td>
                <td>
                    <select>
                        <option selected="selected">请选择</option>
                    </select>
                </td>
                <td>
                    关联项：
                </td>
                <td>
                    <input type="text" value="" style="width:132px;">
                    <button>清除</button>
                </td>
            </tr>
        </table>
        <div class="tj-bj-show" style="text-align: center;border-bottom: 1px solid #c7c7c7;margin-left: 10px;">
            <button type="submit" class="tj-bj-btn-save"></button>
        </div>
        <div class="tj-bbzd-by">
            <div class="tj-bbzd-icon">
                <img src="../assets/img/bbzd-jt.png"><span>表样</span>
            </div>

            <div class="tj-bbzd-table-style">
                <div class="tj-bbzd-title">固定资产投资（不含农户）完成情况</div>
                <div class="tj-bbzd-tabletop">
                    <div class="fl tj-tbtop-left">
                        <div><span>综合机关代码：</span><input type="text" value="UID,0 ,0"></div>
                        <div><span>综合机关名称：</span><input type="text" value="UNAME,0 ,0"></div>
                    </div>
                    <div class="fr tj-tbtop-right">
                        <div><label class="lt2">表</label>样：<span>H 4 0 1 表</span></div>
                        <div>制表机关：<span>国家统计局</span></div>
                        <div><label class="lt2">文</label>号：<span>国统字号</span></div>
                        <div>有限期至：<span>&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月</span></div>
                    </div>
                </div>
                <div class="tbborder">
                    <table cellpadding="0" cellspacing="0" class="tj-bbzd-table2">
                        <tr class="tj-tb2-firsttr">
                            <td width="150" rowspan="2">指标名称</td>
                            <td width="60" rowspan="2">计量单位</td>
                            <td width="60" rowspan="2">代码</td>
                            <td width="90" rowspan="2" style="border-right: 0;">合计</td>
                            <td width="90" style="border:0;border-top: 1px solid #a6a6a6;"></td>
                            <td width="90" style="border:0;border-top: 1px solid #a6a6a6;"></td>
                            <td width="100" rowspan="2">地方项目</td>
                        </tr>
                        <tr class="tj-tb2-firsttr">
                            <td>500-5000万项目</td>
                            <td>5000万及以上项目</td>
                        </tr>
                        <tr class="tj-tb2-dd tj-tb2-secondtr" style="text-align: center;">
                            <td>甲</td>
                            <td>乙</td>
                            <td>丙</td>
                            <td>50</td>
                            <td>53</td>
                            <td>54</td>
                            <td>51</td>
                        </tr>
                        <tr>
                            <td>一、计划投资（万元）</td>
                            <td>万元</td>
                            <td>--</td>
                            <td>--</td>
                            <td>--</td>
                            <td>--</td>
                            <td>--</td>
                        </tr>
                        <tr class="tj-tb2-dd">
                            <td>1.计划总投资</td>
                            <td>万元</td>
                            <td>B101</td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                        </tr>
                        <tr>
                            <td>其中：本年新开工项目</td>
                            <td>万元</td>
                            <td>B102</td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                        </tr>
                        <tr class="tj-tb2-dd">
                            <td>二、本年完成投资（万元）</td>
                            <td>万元</td>
                            <td>B103</td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                        </tr>
                        <tr>
                            <td>其中：本月完成投资</td>
                            <td>万元</td>
                            <td>B104</td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                        </tr>
                        <tr class="tj-tb2-dd">
                            <td>其中：住宅</td>
                            <td>万元</td>
                            <td>B105</td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                            <td><span>50,B101,1</span></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<!--添加面板-->
<div class="add-desk" id="adddesk">
    <div class="remindtop"><span>添加制度报表</span><img onclick="closeDesk();" src="../assets/img/showclose.jpg"></div>
    <div class="add-desk-top"><input type="radio" onfocus="changediv(1);" name="choseadd"><span>添加制度分类</span><input onfocus="changediv(2);" type="radio"
                                                                                            name="choseadd"><span>添加报表到当前制度中</span><input
            type="radio" checked="checked" name="choseadd" onfocus="changediv(3);"><span>新建报表</span></div>
    <div class="add-desk-panel undis" id="add1">
        <div class="add-desk-main">
            <div class="add-desk-mtop">添加报表制度<span>（带<label>*</label>为必填项）</span></div>
            <div class="add-desk-mdiv"><span>制度编码：</span><input type="text"></div>
            <div class="add-desk-mdiv"><span>制度名称：</span><input type="text"></div>
            <div class="add-desk-mdiv"><span>制度版本号：</span><input type="text"></div>
            <div class="add-desk-mdiv add-desk-mdivf" style="border: 0;"><span>有效期：</span><input type="text"
                                                                                                 data-beatpicker="true"/><span
                    style="width: 23px;"><label>*</label>至</span><input type="text" data-beatpicker="true"/></div>
        </div>
        <div class="add-desk-mbtn">
            <button type="button" onclick="showAlert();">完成</button>
            <button type="button" onclick="closeDesk();" style="background-color: #a4aaad;">取消</button>
        </div>
    </div>
    <div class="add-desk-panel undis" id="add2">
        <div class="add-desk-main" style="border: 0">
            <table cellpadding="0" cellspacing="0" class="JS_table add-desk-table">
                <tr class="tj-table-firsttr">
                    <td width="64"></td>
                    <td width="170">表示号</td>
                    <td>表名</td>
                </tr>
                <tr>
                    <td colspan="3">
                        <div class="overflowdiv">
                        <table cellpadding="0" cellspacing="0" class="add-desk-table2">
                            <tr>
                                <td width="64"><input type="checkbox"></td>
                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td width="64"><input type="checkbox"></td>
                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td width="64"><input type="checkbox"></td>
                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td width="64"><input type="checkbox"></td>
                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td width="64"><input type="checkbox"></td>
                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox"></td>
                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                        </table>
                        </div>
                    </td>
                </tr>


            </table>
        </div>
        <div class="add-desk-mbtn">
            <button type="button" style="width: 90px;" onclick="showNext();">下一步</button>
            <button type="button" onclick="closeDesk();" style="background-color: #a4aaad;">取消</button>
        </div>
    </div>
    <div class="add-desk-panel undis" id="add2-2">
        <div class="add-desk-main">
            <div class="add-desk-mtop">设置相关信息</div>
            <div class="add-desk-mdiv"><span>报送单位：</span><input type="text"></div>
            <div class="add-desk-mdiv"><span>填报范围：</span><textarea type="text"></textarea></div>
            <div class="add-desk-mdiv " style="border: 0;"><span>报送日期及方式：</span><textarea type="text"></textarea></div>

        </div>
        <div class="add-desk-mbtn">
            <button type="button" style="width: 90px;" onclick="showPre();">上一步</button>
            <button type="button" onclick="showAlert();">完成</button>
            <button type="button" onclick="closeDesk();" style="background-color: #a4aaad;">取消</button>
        </div>
    </div>
    <div class="add-desk-panel" id="add3">
        <div class="add-desk-main">
            <div class="add-desk-mtop">添加表格样式<span>（带<label>*</label>为必填项）</span></div>
            <div class="add-desk-mdiv"><span>同类表：</span><select>
                <option>无</option>
            </select></div>
            <div class="add-desk-mdiv"><span>报告期别：</span><select>
                <option>年报</option>
            </select></div>
            <div class="add-desk-mdiv"><span>表式号：</span><input type="text"><label>*</label></div>
            <div class="add-desk-mdiv"><span>表号：</span><input type="text"><label>*</label></div>
            <div class="add-desk-mdiv"><span>表名：</span><input type="text"><label>*</label></div>
            <div class="add-desk-mdiv"><span>制表机关：</span><input type="text"><label>*</label></div>
            <div class="add-desk-mdiv add-desk-mdivf" style="border: 0;"><span>有效期：</span><select>
                <option>2006年</option>
            </select><span style="width: 23px;"><label>*</label>至</span><select>
                <option></option>
                <option>2016年</option>
            </select></div>

        </div>
        <div class="add-desk-mbtn">
            <button type="button" style="width: 90px;" onclick="showAdd3();">参照样式表</button>
            <button type="button" onclick="showAlert();">完成</button>
            <button type="button" onclick="closeDesk();" style="background-color: #a4aaad;">取消</button>
        </div>
    </div>

</div>
<div id="addczb">
    <div class="add-desk2" id="add3-2">
    <div class="remindtop"><span>参照样式</span><img onclick="closeAdd3();" src="../assets/img/showclose.jpg"></div>
    <div class="add-desk-main" style="border: 0;margin-top: 10px;">
        <table cellpadding="0" cellspacing="0" class="JS_table add-desk-table">
            <tr class="tj-table-firsttr">
                <td width="170">表示号</td>
                <td>表名</td>
            </tr>
            <tr>
                <td colspan="3">
                    <div class="overflowdiv">
                        <table cellpadding="0" cellspacing="0" class="add-desk-table2">
                            <tr>

                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td width="170">H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                            <tr>

                                <td>H101</td>
                                <td>2008年报表</td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>


        </table>
    </div>
    <div class="add-desk-mbtn">
        <button type="button"  onclick="closeAdd3();">确定</button>
        <button type="button" onclick="closeDesk();" style="background-color: #a4aaad;">取消</button>
    </div>
</div>
</div>
<!--修改报表制度-->
<div id="tj-xgbbzd" class="openbg">
    <div class="xx-desk">
        <div class="remindtop"><span>报表制度</span><img onclick="closeAllDesk('tj-xgbbzd');" src="../assets/img/showclose.jpg"></div>
        <div class="add-desk-main" style="border: 0;margin-top: 10px;min-height: 200px;">
            <div>
                <div class="add-desk-mtop">修改报表制度：<span>(带<label>*</label>为必填)</span></div>
                <div class="add-desk-mdiv"><span>制度编码：</span><input type="text" value="H2Y221"><label>*</label></div>
                <div class="add-desk-mdiv"><span>制度名称：</span><input type="text" value="2015年投资月报表"><label>*</label></div>
                <div class="add-desk-mdiv"><span>制度版本号：</span><input type="text" value="2015"><label>*</label></div>
                <div class="add-desk-mdiv add-desk-mdivf" style="border: 0;"><span>有效期：</span><input type="text"
                                                                                                     data-beatpicker="true"/><span
                        style="width: 23px;"><label>*</label>至</span><input type="text" data-beatpicker="true"/></div>
            </div>
        </div>
        <div class="add-desk-mbtn" >
            <button type="button" onclick="closeAllDesk('tj-xgbbzd');">完成</button>
            <button type="button" onclick="closeAllDesk('tj-xgbbzd');" style="background-color: #a4aaad;">取消</button>
        </div>
    </div>
</div>

<script type="text/javascript">
    var changetext = 0;
    $(document).ready(function () {
        $(".JS_tab li").click(function () {
            if ($(".JS_tab li").index(this) == 1) {
                changetext = 1;
                $(".tj-bj-show").removeClass("undis");
            }
            else {
                changetext = 0;
                $(".tj-table-selecttr input")[0].readOnly = true;
                $(".tj-table-selecttr input")[1].readOnly = true;
                $(".tj-table-selecttr input")[2].readOnly = true;
                $(".tj-bj-show").addClass("undis");
            }
            $(".tj-active").removeClass("tj-active");
            $(this).addClass("tj-active");
            $(".JS_panel .tj-tab-panel").addClass("undis");
            $(".JS_panel .tj-tab-panel")[$(".JS_tab li").index(this)].className = "tj-tab-panel";
        });
        $(".JS_table tr").click(function () {
            if ($(this)[0].className != "tj-table-firsttr") {
                if ($(this)[0].className != "tj-table-selecttr") {
                    $(".tj-table-selecttr input")[0].readOnly = true;
                    $(".tj-table-selecttr input")[1].readOnly = true;
                    $(".tj-table-selecttr input")[2].readOnly = true;
                }
                $(".tj-table-selecttr").removeClass("tj-table-selecttr");
                $(this).addClass("tj-table-selecttr");
            }
        });
        $(".JS_table tr").dblclick(function () {
            if (changetext == 1) {
                if ($(this)[0].className != "tj-table-firsttr") {
                    $(".tj-table-selecttr").removeClass("tj-table-selecttr");
                    $(this).addClass("tj-table-selecttr");
                    $(".tj-table-selecttr input")[0].readOnly = false;
                    $(".tj-table-selecttr input")[1].readOnly = false;
                    $(".tj-table-selecttr input")[2].readOnly = false;
                }
            }
        });
        $(".tj-btn-add").click(function () {
            openDark();
        });
        $("#darkdiv").click(function () {
            closeDark();
        });

    });

</script>
</body>
</html>